<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@taglib uri="/struts-tags" prefix="s"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title><s:property value="welcome" />: Main</title>
<s:head />
<style type="text/css">
@import url(style.css);
</style>
</head>
<body>
	<h1>
		<s:property value="main" />
	</h1>
	
	
	<s:if test="Cars.size() > 0">
		<div class="content">
			<s:iterator value="cars" status="listaStatus">
				<div
					class="<s:if test="#listaStatus.odd == true ">odd</s:if><s:else>even</s:else>">
					<s:property value="name" />
					<s:property value="description" />

					<s:url id="Detail" action="Detail">
					</s:url>
					<s:a href="%{Detail}">Detail</s:a>
					 <br />
				</div>
			</s:iterator>

		</div>
	</s:if>




</body>
</html>